package car;

/**
 * @author DCSGO
 * @version 1.0
 */
public class Car {
    //品牌
    public String brand = "宝马";
    //价格
    public int price = 1000000;
    public String color = "白色";
    //使用时长
    protected int usage = 1;
    //是否发生过事故
    private boolean isAccident = false;

    @Override
    public String toString() {
        return "Car{" +
                "brand='" + brand + '\'' +
                ", price=" + price +
                ", color='" + color + '\'' +
                '}';
    }
}
